<div class="hd-20161115">
  <div class="hd-banner-bg banner-bg1">
    <div class="hd-banenr">
      <p class="hd-discountCode">
        <span class="spanEmpty" style="width:296px;"></span>11.21一11.24
        <span class="spanEmpty" style="width:183px;"></span>11.25一11.27
        <span class="spanEmpty" style="width:186px;"></span>11.28一11.30</p>
    </div>
  </div>
  <div id="countdown-item1">
    <p class="countdown-title">Comienza en</p>
    <div class="dash days_dash" style="margin-left: 375px;">
      <div class="digit">0</div>
      <div class="digit">0</div>
      <div class="task_title">Días</div>
    </div>
    <div class="dash t_day">:</div>
    <div class="dash hours_dash">
      <div class="digit">0</div>
      <div class="digit">0</div>
      <div class="task_title">Horas</div>
    </div>
    <div class="dash t_day">:</div>
    <div class="dash minutes_dash">
      <div class="digit">0</div>
      <div class="digit">0</div>
      <div class="task_title">Minutos</div>
    </div>
    <div class="dash t_day">:</div>
    <div class="dash seconds_dash">
      <div class="digit">0</div>
      <div class="digit">0</div>
      <div class="task_title">segundos</div>
    </div>
    <div style="clear:both;"></div>
  </div>
  <div class="hd-main-product">
    <div class="main-product-container">
      <div class="product-layer"></div>
      <a class="product-img" href="#">
        <img src="./images/201611229.png">
      </a>
      <div class="product-dash"></div>
      <div class="product-text">
        <a href="#">Xiaomi Redmi 3S
          <br>
          <span style="font-weight:lighter;">2GB 16GB Gris </span>
        </a>
      </div>
      <a href="#" class="product-price-buy">
        <span class="old">164.99€</span>
        <span class="new">79.99€</span>
        <img class="buy-img" src="./images/201611228.png"> Con
        <span style="font-weight: bold;">3</span> pcs Limitada!
      </a>
    </div>
    <div class="main-product-container">
      <div class="product-layer"></div>
      <a class="product-img" href="#" style="top:70px;left:26px;">
        <img src="./images/2016112215.png">
      </a>
      <div class="product-dash"></div>
      <div class="product-text">
        <a href="#">Meizu M3
          <br>
          <span style="font-weight:lighter;">2GB 16GB Blanco</span>
        </a>
      </div>
      <a href="#" class="product-price-buy">
        <span class="old">134.99€</span>
        <span class="new">69.99€</span>
        <img class="buy-img" src="./images/201611228.png"> Con
        <span style="font-weight: bold;">3</span> pcs Limitada!
      </a>
    </div>
  </div>
  <div class="hd-main-content">
    <div class="hd-display-container">

      <div class="hd-display-block w1100">
        <div class="panel-layout">
          <img src="./images/201611221.png">
          <ul>
            <li style="background: #424242;">
              <a class="hdPageLInk" href="#display1">XIAOMI</a>
            </li>
            <li style="background: #323232;">
              <a class="hdPageLInk" href="#display2">IPHONE & MEIZU</a>
            </li>
            <li style="background: #222;">
              <a class="hdPageLInk" href="#display3">ALMACÉN CHINO</a>
            </li>
            <li style="background: #121212;">
              <a class="hdPageLInk" href="#display4">MÓVILES REFORMADOS</a>
            </li>
            <li style="background: #000;margin-bottom: 0px;">
              <a class="hdPageLInk" href="#display5">GADGETS</a>
            </li>
            <li>
              <a class="hdPageLInk" href="#Top">
                <img src="./images/201611222.png">
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>
<link rel="stylesheet" href="./data/20161122.css">
<style>
  .hd-banenr .hd-discountCode{position: absolute;font-size: 17px;color: #b9000e;top: -9px;margin: 0px;width: 100%;height: 26px;text-align: left;}
  .hd-discountCode .spanEmpty{display: inline-block;height: 100%;}
  #countdown-item1 .countdown-title{margin: 0px 0px 10px;font-size: 27px;color: #fff;font-weight: bold;padding-top: 20px;}
  #countdown-item1 .dash .digit{float: left;text-align: center;position: relative;display: block;background: #000;padding: 6px;color: #fff;font-size: 25px;font-weight: bold;margin: 0px 2px;}
  #countdown-item1 .dash{float: left;position: relative;}
  #countdown-item1 .t_day{font-size: 20px;color: #000;font-weight: lighter;margin: 5px 3px 0px;}
  #countdown-item1 .task_title{font-size: 14px;margin-top: 40px;color: #000;}
  .hd-main-product{background: url(./images/201611223.png)no-repeat center;height: 426px;width: 1009px;margin: 0px auto;}
  .main-product-container{width: 420px;float: left;margin: 60px 0px 0px 60px;height: 315px;position: relative;overflow: hidden;}
  .hd-main-product .product-layer{background: url(./images/201611225.png) no-repeat center;width: 255px;height: 324px;}
  .hd-main-product .product-img{position: absolute;top: 40px;left: 38px;display: block;}
  .hd-main-product .product-dash{background: url(./images/201611226.png) no-repeat center bottom;width: 231px;height: 280px;position: absolute;bottom: 5px;left: 12px;-webkit-transition: all 0.6s ease;-moz-transition: all 0.6s ease;-ms-transition: all 0.6s ease;-o-transition: all 0.6s ease;transition: all 0.6s ease;}
  .main-product-container:hover .product-dash{height: 0px;}
  .hd-main-product .product-text{background: url(./images/201611227.png) no-repeat center;width: 246px;height: 59px;position: absolute;top: 5px;left: 120px;font-size: 16px;font-weight: bold;padding-left: 85px;box-sizing: border-box;text-align: left;}
  .hd-main-product .product-text a{color: #fff;}
  .main-product-container:hover .product-text a{color: #fff100;}
  .product-price-buy{display: block;position: absolute;top: 110px;left: 250px;text-align: left;color: #fff;font-size: 16px;}
  .product-price-buy:hover{color: #fff;}
  .product-price-buy .old{display: block;font-size: 18px;text-decoration: line-through;}
  .product-price-buy .new{color: #fff100;font-size: 30px;font-weight: bold;line-height: 30px;}
  .review-wrapper .product-info{font-size: 15px;line-height: 15px;height: 30px;overflow: hidden;display: block;color: #fff;padding-top: 5px;opacity: 1;-webkit-transition: all .3s linear 0s;-moz-transition: all .3s linear 0s;-o-transition: all .3s linear 0s;-ms-transition: all .3s linear 0s;transition: all .3s linear 0s;}
  .hd-main-content ul li.small-list:hover .review-wrapper .product-info{opacity: 0;}
  .hd-main-content .lis1{margin: 0px;padding: 25px 0px;}
  .hd-main-content ul li.small-list{width: 200px;margin: 5px;position: relative;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;background: #fff;float: left;}
  .hd-main-content ul li.small-list:hover{transform: translateY(-6px);-webkit-transform: translateY(-6px);-o-transform: translateY(-6px);-ms-transform: translateY(-6px);-moz-transform: translateY(-6px);}
  .hd-main-content ul li.small-list:before{pointer-events: none;position: absolute;z-index: -1;content: '';top: 100%;left: 5%;height: 10px;width: 90%;opacity: 0;background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);-webkit-transition-duration: 0.3s;transition-duration: 0.3s;-webkit-transition-property: transform, opacity;transition-property: transform, opacity;}
  .hd-main-content ul li.small-list:hover:before{opacity: 1;-webkit-transform: translateY(5px);transform: translateY(5px);}
  .hd-main-content ul li.hd-banner{width: 410px;float: left;margin: 0px 5px;}
  .hd-main-content ul li.hd-banner img{width: 100%;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;opacity: 1;}
  .hd-main-content ul li.hd-banner:hover img{opacity: 0.8;}
  .small-list .discount-number2{position: absolute;height: 55px;width: 55px;font-size: 20px;color: #fff;font-weight: bold;top: 0px;right: 0px;line-height: 55px;text-align: center;background: #aa0101;border-radius: 50%;}
  .hd-main-content ul li.small-list img{width: 90%;padding: 10px;height: 181px;}
  .hd-main-content .old-price{font-size: 15px;text-decoration: line-through;color: #fff1d0;margin-right: 5px;}
  .hd-main-content .current-price{font-size: 25px;font-weight: bold;color: #ff9c20;}
  .hd-main-content ul li.small-list img.hd-btn-buy{position: absolute;left: 0px;-webkit-transition: all .3s linear 0s;-moz-transition: all .3s linear 0s;-o-transition: all .3s linear 0s;-ms-transition: all .3s linear 0s;transition: all .3s linear 0s;bottom: -55px;height: auto;width: auto;padding: 10px 0px;}
  .hd-main-content ul li.small-list:hover img.hd-btn-buy{bottom: -9px;}
  .hd-display-block{padding-top: 100px;}
  #display5 .hd-display-block{padding-top: 80px;}
  .panel-layout{width: 165px;position: fixed;top: 0;margin-left: 1055px;-webkit-transform: scale(0.01);-moz-transform: scale(0.01);-o-transform: scale(0.01);-ms-transform: scale(0.01);transform: scale(0.01);-webkit-transition: all .6s linear 0s;-moz-transition: all .6s linear 0s;-o-transition: all .6s linear 0s;-ms-transition: all .6s linear 0s;transition: all .6s linear 0s;visibility: hidden;text-align: center;}
  .panel-layout.active{visibility: visible;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);-ms-transform: scale(1);transform: scale(1);}
  .panel-layout ul li{list-style: none;margin: 0px auto 5px;}
  .panel-layout ul li a{display: block;width: 100%;color: #fff100;text-align: center;font-size: 13px;padding: 5px 0px;}
  .panel-layout ul li.current a{color: #ea0001;}
</style>
<script src="../js/jquery.lwtCountdown-min.js"></script>
<script type="text/javascript">
  (function ($) {
    $(function () {
      var str1 = '', str2 = '';
      for(var i = 0; i < 18; i++){
        str1 += `<li class="small-list">
                <a class="hd-link-img" href="#">
                  <img src="./images/2016040616.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado">
                </a>
                <div class="review-wrapper">
                  <a href="#">
                    <span class="old-price">129.95€</span>
                    <span class="current-price">99.95€</span>
                    <span class="product-info" href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</span>
                    <img class="hd-btn-buy" src="./images/201611224.png">
                  </a>
                </div>
                <span class="discount-number2">-25€</span>
              </li>`;
      }
      for(var i = 0; i < 5; i++){
        str2 += `<div class="hd-display-container" id="display${i+1}">
                  <div class="hd-display-block w1100">
                    <div class="display">
                      <div class="hd-product-list">
                        <ul class="lis1 clearfloat">
                            <li class="hd-banner" style="margin-top: -89px;">
                              <a href="#"><img src="./images/2016112210.png"></a>
                            </li>
                            ${str1}
                        </ul>
                      </div>
                    </div>
                  </div>
                </div>`
      }
      $(".hd-main-content").prepend(str2);

      var sideNav = $(".panel-layout");
      $(window).on("scroll", function () {
        var sideNavShow = $(".hd-banner-bg").offset().top + $(".hd-banner-bg").outerHeight(true) - 200;
        var modTop = [];
        if ($(this).scrollTop() >= sideNavShow) {
          sideNav.addClass("active");
        }
        else {
          sideNav.removeClass("active");
        }

        for (var i = 0; i < $(".panel-layout ul li .hdPageLInk").length - 1; i++) {
          modTop[i] = $($(".panel-layout ul li a").eq(i).attr("href")).offset().top - 5;

          if ($(window).scrollTop() >= modTop[i]) {
            $(".panel-layout ul li").removeClass('current').eq(i).addClass('current');
          };
        };
      });

      sideNav.find("li").find(".hdPageLInk").on("click", function (e) {
        e.preventDefault();
        var aHash = this.hash;
        $("html,body").animate({
          scrollTop: aHash == "#Top" ? 0 : $(aHash).offset().top
        });
      });
      $('#countdown-item1').countDown({
        targetOffset: {
            'day': 0,
            'month': 0,
            'year': 0,
            'hour': 0,
            'min': 0,
            'sec': 100
          },
          omitWeeks: true
      });

    });
  })(jQuery); 
</script>